package com.storlead.shiro.mapper;

import com.storlead.shiro.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: Timo
 * @Date: 2019/2/13 11:14
 * @Description: 类用途：
 */
@Mapper
public interface UserInfoMapper {

    UserInfo findUser(Integer userId);
    UserInfo findUserByName(String userName);
    UserInfo findUserByNameAndPwd(String userName, String password);
}
